package cc.lucien;

import java.util.List;

public class DBUtilsTest {
    public static void main(String[] args) {

        DBUtils<User> dbUtils = new DBUtils<>();
        String sql = "select * from users";
        List<User> users = dbUtils.selectAll(sql, User.class, null);
        for (User user : users) {
            System.out.println(user);
        }
        dbUtils.close();
    }
}
